import request from "@/utils/request"

export function findbypageT(data){
    return request({
        url: '/tempLate/findByPage',
        method: 'post',
        data
    })
}
export function addT(data){
    return request({
        url: '/tempLate/add',
        method: 'post',
        data
    })
}

export function deleteT(id){
    return request({
        url: '/tempLate/delete',
        method: 'post',
        params:{id}
    })
}

export function updateT(data){
    return request({
        url: '/tempLate/update',
        method: 'post',
        data
    })
}
export function findAll(){
    return request({
        url: '/tempLate/findAll',
        method: 'post',
    })
}